import java.io.BufferedReader;
import java.io.IOException;
import static org.mockito.Mockito.*;


public class ConsoleReader {

  private BufferedReader bufferedReader;

  public ConsoleReader(BufferedReader bufferedReader) {
        this.bufferedReader = bufferedReader;
  }

  public String readLine() {
      String input = null;
        try {
            input = bufferedReader.readLine();
        } catch (IOException e) {
            e.printStackTrace();
        }
      return input;
    }


}
